Optimal. Leaf size=227 \[ -\frac {f (a+b x)^{1+m} (c+d x)^{1+n} (e+f x)^{-2-m-n}}{(b e-a f) (d e-c f) (2+m+n)}-\frac {(a d f (1+m)+b (c f (1+n)-d e (2+m+n))) (a+b x)^{1+m} (c+d x)^n \left (\frac {(b e-a f) (c+d x)}{(b c-a d) (e+f x)}\right )^{-n} (e+f x)^{-1-m-n} \, _2F_1\left (1+m,-n;2+m;-\frac {(d e-c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(b e-a f)^2 (d e-c f) (1+m) (2+m+n)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 226, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {98, 134}
\begin {gather*} -\frac {(a+b x)^{m+1} (c+d x)^n (e+f x)^{-m-n-1} (a d f (m+1)+b c f (n+1)-b d e (m+n+2)) \left (\frac {(c+d x) (b e-a f)}{(e+f x) (b c-a d)}\right )^{-n} \, _2F_1\left (m+1,-n;m+2;-\frac {(d e-c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(m+1) (m+n+2) (b e-a f)^2 (d e-c f)}-\frac {f (a+b x)^{m+1} (c+d x)^{n+1} (e+f x)^{-m-n-2}}{(m+n+2) (b e-a f) (d e-c f)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 98
Rule 134
Rubi steps
\begin {align*} \int (a+b x)^m (c+d x)^n (e+f x)^{-3-m-n} \, dx &=-\frac {f (a+b x)^{1+m} (c+d x)^{1+n} (e+f x)^{-2-m-n}}{(b e-a f) (d e-c f) (2+m+n)}-\frac {(a d f (1+m)+b c f (1+n)-b d e (2+m+n)) \int (a+b x)^m (c+d x)^n (e+f x)^{-2-m-n} \, dx}{(b e-a f) (d e-c f) (2+m+n)}\\ &=-\frac {f (a+b x)^{1+m} (c+d x)^{1+n} (e+f x)^{-2-m-n}}{(b e-a f) (d e-c f) (2+m+n)}-\frac {(a d f (1+m)+b c f (1+n)-b d e (2+m+n)) (a+b x)^{1+m} (c+d x)^n \left (\frac {(b e-a f) (c+d x)}{(b c-a d) (e+f x)}\right )^{-n} (e+f x)^{-1-m-n} \, _2F_1\left (1+m,-n;2+m;-\frac {(d e-c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(b e-a f)^2 (d e-c f) (1+m) (2+m+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.18, size = 189, normalized size = 0.83 \begin {gather*} -\frac {(a+b x)^{1+m} (c+d x)^n (e+f x)^{-2-m-n} \left (f (c+d x)-\frac {(-a d f (1+m)-b c f (1+n)+b d e (2+m+n)) \left (\frac {(b e-a f) (c+d x)}{(b c-a d) (e+f x)}\right )^{-n} (e+f x) \, _2F_1\left (1+m,-n;2+m;\frac {(-d e+c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(b e-a f) (1+m)}\right )}{(b e-a f) (d e-c f) (2+m+n)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \left (b x +a \right )^{m} \left (d x +c \right )^{n} \left (f x +e \right )^{-3-m -n}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,x\right )}^m\,{\left (c+d\,x\right )}^n}{{\left (e+f\,x\right )}^{m+n+3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________